package me.zhengjie.modules.sms;

import me.zhengjie.modules.sms.utils.SmsUtil;

import java.util.ArrayList;
import java.util.List;

public class SmsTest {



    public  static  void main(String[] args){


        try {
            String code ="{\"code\":\"100861\"}";
             SmsUtil.sendSms("","18053818847","新太阳科技","SMS_210072499",code);
//            List<String> phoneList = new ArrayList<>();
//            phoneList.add("15234676085");
//            phoneList.add("15934056803");
//            String code ="[{\"title\":\"" + "应急演练" + "\",\"time\":\"" + "2020-12-12 12:30" + "\",\"address\":\"" + "3303掘进工作面" + "\",\"type\":\"" + "瓦斯超限" + "\"},{\"title\":\"" + "应急演练" + "\",\"time\":\"" + "2020-12-12 12:30" + "\",\"address\":\"" + "3303掘进工作面" + "\",\"type\":\"" + "瓦斯超限" + "\"}]";
//            SmsUtil.sendBatchSms(phoneList,"新太阳科技","SMS_210068850",code);


        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
